﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BookStore.Data;
using System.Data;

namespace BookStore.Bussiness
{
    public class supportService
    {
        #region getbyID
        public static supportInfo getbyID(int supportID) {
            return supportController.getbyID(supportID);
        }
        #endregion

        #region getAll
        public static DataTable getAll() {
            return supportController.ListSupport();
        }
        #endregion

        #region insert
        public static bool insertSupport(supportInfo objSubpport) {
            return supportController.insertSupport(objSubpport);
        }
        #endregion

        #region update
        public static bool updateSupport(supportInfo objSupport) {
            return supportController.updateSupport(objSupport);
        }
        #endregion

        #region delete
        public static bool deleteSupport(int supportID) {
            return supportController.deleteSupport(supportID);
        }
        #endregion
    }
}
